The concept of a view hint is that it sets up a series of hints that tell the reading application how the author of the metafile intended the geometries within the metafile to be rendered. Since these are hints, the reading application can ignore them.
Rather than writing out the lighting information to the metafile as absolute objects, you should create a view in the normal manner, and then add lighting, camera, renderer, and other information, also in the normal manner. Then, extract the view hints from the view with 3ViewHints_New( theView ) by passing in a view object. 3ViewHints_New( theView ) returns a view-hints object that includes the view configuration for the view you pass in.
View hints have many handy access routines for getting and setting renderers, light groups, and the like. See the "File Objects "chapter of Inside Macintosh: QuickDraw 3D (now called 3D Graphics Programming with QuickDraw 3D). An electronic copy of this book was included on the last Reference Library CD in the New System Extensions folder, and as part of the beta seed kit.
Tumbler, which is also part of the beta kit, illustrates how to use view hints
read from a metafile to configure a view. For details, see the
Tumbler_Document.c file.